package com.wzf.greattruth.zookeeper.election;

public enum ElectionState {
    LEADER("leader状态"), FLLOWER("fllower状态"), ERROR("异常状态"), STOP("停止状态");

    private String desc;

    private ElectionState(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
